package com.original_01;

/**
 * @Author
 * @Create 2021/2/2
 */
public abstract class Duck {

    public void quack() {
        System.out.println("呱呱呱！");
    }

    public void swim() {
        System.out.println("我会游泳！");
    }

    public abstract void dispaly();

    public void fly() {
        System.out.println("我是一只会飞的鸭子！");
    }
}
